package com.cnap.multiclouldmgmt.model.gpu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 内存使用的情况
 *
 * @author xc
 **/
@ApiModel(value = "com.cnap.multiclouldmgmt.model.gpu.NodeQueryModel",description = "查询节点")
public class NodeQueryModel {

    //集群名称
    @ApiModelProperty(value = "k8sClusterName")
    private String k8sClusterName;

    //集群所属云服务商为空
    @ApiModelProperty(value = "集群所属云服务商")
    private String cloudVendor;

    //nodeName，传入resname也就是应用的名称
    @ApiModelProperty(value = "nodeName")
    private String nodeName;

    //indicator 内存使用率，磁盘吞吐率，cpu使用率，磁盘吞吐量，请求响应时间，磁盘IOPS
    @ApiModelProperty(value = "indicator")
    private String indicator;

    @ApiModelProperty(value = "查询内容，最大值，最小值还是平均值")
    private String queryType;

    @ApiModelProperty(value = "查询的分钟数")
    private int queryMinutes;

    @ApiModelProperty(value = "查询的结果")
    private int queryResult;

    /**
     * 入参新增name和resType，其中resType取值为微服务、节点，name表示微服务名称，或者节点名称，
     * 原参数nodeName废弃；需要新增微服务对应的各指标查询，例如cpu 内存
     */
    @ApiModelProperty(value = "name表示微服务名称，或者节点名称")
    private String name;


    @ApiModelProperty(value = "取值为微服务、节点")
    private String resType;

    @ApiModelProperty(value = "微服务id")
    private String svcId;

    /**
     * get
     *
     * @return SvcId
     */
    public String getSvcId() {
        return svcId;
    }

    /**
     * set
     *
     * @param svcId svcId
     */
    public void setSvcId(String svcId) {
        this.svcId = svcId;
    }

    /**
     * get
     *
     * @return Name
     */
    public String getName() {
        return name;
    }

    /**
     * set
     *
     * @param name name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * get
     *
     * @return ResType
     */
    public String getResType() {
        return resType;
    }

    /**
     * set
     *
     * @param resType resType
     */
    public void setResType(String resType) {
        this.resType = resType;
    }

    /**
     * get
     *
     * @return CloudVendor
     */
    public String getCloudVendor() {
        return cloudVendor;
    }

    /**
     * set
     *
     * @param cloudVendor cloudVendor
     */
    public void setCloudVendor(String cloudVendor) {
        this.cloudVendor = cloudVendor;
    }

    /**
     * get
     *
     * @return K8sClusterName
     */
    public String getK8sClusterName() {
        return k8sClusterName;
    }

    /**
     * set
     *
     * @param k8sClusterName k8sClusterName
     */
    public void setK8sClusterName(String k8sClusterName) {
        this.k8sClusterName = k8sClusterName;
    }

    /**
     * get
     *
     * @return NodeName
     */
    public String getNodeName() {
        return nodeName;
    }

    /**
     * set
     *
     * @param nodeName nodeName
     */
    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    /**
     * get
     *
     * @return Indicator
     */
    public String getIndicator() {
        return indicator;
    }

    /**
     * set
     *
     * @param indicator indicator
     */
    public void setIndicator(String indicator) {
        this.indicator = indicator;
    }

    /**
     * get
     *
     * @return QueryType
     */
    public String getQueryType() {
        return queryType;
    }

    /**
     * set
     *
     * @param queryType queryType
     */
    public void setQueryType(String queryType) {
        this.queryType = queryType;
    }

    /**
     * get
     *
     * @return QueryMinutes
     */
    public int getQueryMinutes() {
        return queryMinutes;
    }

    /**
     * set
     *
     * @param queryMinutes queryMinutes
     */
    public void setQueryMinutes(int queryMinutes) {
        this.queryMinutes = queryMinutes;
    }

    /**
     * get
     *
     * @return QueryResult
     */
    public int getQueryResult() {
        return queryResult;
    }

    /**
     * set
     *
     * @param queryResult queryResult
     */
    public void setQueryResult(int queryResult) {
        this.queryResult = queryResult;
    }
}
